<template>
	<view>
		<upItem  @changeList="changeList" source :listData="listData"  maxLength="1"></upItem>
		
	</view>
</template>

<script>
	import upItem from "./upItem.vue"
	export default {
		name: "goodsImgs",
		props: {
			index: 0,
			listData:{
				type:Array,
				default:()=>[]
			}
		},
		components: {
			upItem
		},
		data() {
			return {

			};
		},
		methods: {
			changeList(list) {
				this.$emit('changeList', {
					list,
					index:this.index
				})
			}
		}
	}
</script>

<style lang="scss">

</style>